
	{% extends "base.html" %}
	{% block title %} Welcome to Text Minging Demo Site {% endblock %}
	{% block head %} Dictionary Contents {% endblock %}
	{% block content %}
		<h3> Dictionary Terms Table </h3>
		{% if termList %}
		<table class='table table-striped table-bordered table-condensed'>
			<tread>
			<tr>
			<th>term_id</th><th>term</th><th>synonym_group_id</th><th>term_type</th><th>term_description</th>
			</tr>
			</tread>
			{% for r in termList %}
			<tr>
				<td>
				{{ r.term_id}}
				</td>
				<td> 
				{{ r.term}}
				</td>
				<td> 
				{{ r.synonym_group_id}}
				</td>
				<td> 
				{{ r.term_type }}
				</td>
				<td> 
				{{ r.term_description}}
				</td>
			</tr>						
			{% endfor %}
		</table>
		{% else %}
			<p> no datas  </p>
		{% endif %}
		
		<h3> Attribute(Term Type) Table </h3>
		{% if patternList %}
		<table class='table table-striped table-bordered table-condensed'>
			<tread>
			<tr>
			<th>Type ID</th><th>Type Name</th><th>Description</th>
			</tr>
			</tread>
			{% for r in patternList %}
			<tr>
				<td>
				{{ r.id}}
				</td>
				<td> 
				{{ r.name}}
				</td>
				<td> 
				{{ r.des}}
				</td>
			</tr>						
			{% endfor %}
		</table>
		{% endif %}
	{% endblock %}